package com.daniu.demo.jdk.collection;

import java.util.HashMap;
import java.util.Map;

public class HashMapDemo {

    public static void main(String[] args) {
        Map<Integer, String> map = new HashMap<Integer, String>();

        map.put(1, "张三");

        System.out.println(map.get(1));
    }
}
